#ifndef STREAMABSTRACT_H
#define STREAMABSTRACT_H
struct AVStream;
class StreamAbstract
{
public:
    StreamAbstract(AVStream *);
    virtual ~StreamAbstract();
public:
    AVStream *GetStream();
    int    GetStreamType();
public:
    virtual bool    Init()= 0;
    virtual bool    UnInit()= 0;
    virtual bool    receive_handler(const char *data,int size) = 0;
private:
    AVStream *m_oAVStream;
};

#endif // STREAMABSTRACT_H
